using System;
using Beetle;

internal class ai : am
{
	public override void a()
	{
		if (!y.e || f.get_Socket() == null)
		{
			return;
		}
		try
		{
			if (!f.get_IsDisposed())
			{
				f.d();
			}
		}
		catch (Exception exception)
		{
			f.InvokeChannelError(new ChannelErrorEventArgs
			{
				Channel = f,
				Exception = exception
			});
		}
	}

	public override void Dispose()
	{
	}
}
